package com.untrance.shop.common.filters.model;

import com.untrance.shop.common.enums.OrderDirectionType;

/**
 * @author eugene zadyra
 */
public abstract class Filter {
	private OrderDirectionType orderDirection;
	private String fieldToSelect;

	public void setOrderDirection(OrderDirectionType orderDirection) {
		this.orderDirection = orderDirection;
	}

	public OrderDirectionType getOrderDirection() {
		return orderDirection;
	}

	public void setFieldToSelect(String fieldToSelect) {
		this.fieldToSelect = fieldToSelect;
	}

	public String getFieldToSelect() {
		return fieldToSelect;
	}
}
